<center><h2>注册</h2></center>
<!-- <form action="index.php?controller=Users&action=register" method="post">
username: <input type="text" name="username"/><br/>
Password: <input type="password" name="password"/><br/>
<input type="submit" value="提交"><br/>
<a href="index.php">登录</a>
</form> -->

<form action="index.php?controller=Users&action=register" method="post" style="width: 200px;margin: auto;">
    <div class="form-group">
      <!-- <label for="username">username:</label> -->
      <input type="text" class="form-control" id="username" name="username" placeholder="输入用户名">
    </div>
    <div class="form-group">
      <!-- <label for="password">Password:</label> -->
      <input type="password" class="form-control" id="password" name="password" placeholder="输入密码">
    </div>
    <center>
        <button type="submit" class="btn btn-primary" style="margin-right: 20px;">注册</button>
        <a class="btn btn-primary" href="index.php?controller=Users&action=login">登录</a>
    </center>
  </form>

<center><p><?php echo isset($message) ? $message : ''; ?></p></center>